<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<div id="mainContainer">
		<!-- 从session中获取学生集合 -->
		<form action="${pageContext.request.contextPath}/user/User_list.action" method="post" name="userForm"
			id="userForm">
			<table class="table" width="100%">
				<col width="30%">
				<col width="30%">
				<col width="20%">
				<tr class="title" class="userName">
					<td>用户名</td>
					<td>密码</td>
					<td>操作</td>
				</tr>

				<!-- 遍历开始 -->
				<s:iterator value="#session.users_list" var="aUser">
					<tr class="list">
						<td><s:property value="#aUser.userName" /></td>
						<td><s:property value="#aUser.password" /></td>
						<td><a href="#"
							onclick="javascript: return confirm('真的要删除吗？');">删除</a></td>
					</tr>
				</s:iterator>
				<!-- 遍历结束 -->
				<tr><td style="vertical-align:top;"><div class="pagination" style="float: right;padding-top: 0px;margin-top: 0px;">${page.pageStr}</div></td></tr>
			</table>
		</form>
	</div>
</body>
</html>